#include "activechallengedialog.h"

ActiveChallengeDialog::ActiveChallengeDialog(QWidget *parent) : QDialog(parent), ui(new Ui::ActiveChallengeDialog){
    ui->setupUi(this);
    connect(ui->cancelChallengeButton,SIGNAL(clicked()),this,SIGNAL(cancelChallenge()));
}

ActiveChallengeDialog::~ActiveChallengeDialog(){
    delete ui;
}

void ActiveChallengeDialog::setChallenger(QString name){
    ui->messageLabel->setText("<h2>Waiting For "+name+" To Respond</h2>");
}
